﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="AlbumVideo.aspx.cs" Inherits="AlbumVideo" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Video | <%=Common.home %></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_PageCount" Value="0" runat="server" />
    <span class="path_chude">
        <asp:HyperLink ID="Hyperlink13" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
    </span><span class="path_chude">
        <asp:HyperLink ID="Hyperlink1" CssClass="icon_sub" runat="server" NavigateUrl="#">Video</asp:HyperLink></span>
    <div class="detail_content">
        <div class="detail_content_top">
        </div>
        <asp:UpdatePanel ID="UpdatePanel20" runat="server">
            <ContentTemplate>
                <div class="detail_content_mid">
                    <div class="detail_content_mid_content">
                        <div style="padding-left: 20px; padding-right: 20px">
                            <asp:DataList ID="dlVideo" runat="server" OnItemDataBound="dlFromTrades_ItemDataBound"
                                RepeatColumns="1" RepeatDirection="Horizontal" Width="100%">
                                <ItemTemplate>
                                    <asp:Literal ID="H_VideoId" Visible="false" runat="server" Text='<%# Eval("Id") %>' />
                                    <object width="485" height="300">
                                        <param name="movie" value="<%# Eval("Code") %>"></param>
                                        <param name="allowFullScreen" value="true"></param>
                                        <param name="allowscriptaccess" value="always"></param>
                                        <embed src="<%# Eval("Code") %>" type="application/x-shockwave-flash" width="585"
                                            height="350" allowscriptaccess="always" allowfullscreen="true"></embed></object>
                                    <div style="float: left; width: 400px">
                                        <p class="title_detail_content_big" style="height: 30px;">
                                            <asp:HyperLink ID="HyperLink9" NavigateUrl='<%#"~/video/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'
                                                runat="server"><%# Eval("Ten")%></asp:HyperLink></p>
                                        <p class="albumvideo_content">
                                            <asp:Label ID="lblNoiDungTin" runat="server" Text='<%# Eval("TomTat")%>'></asp:Label>
                                        </p>
                                        <p class="ngaygoitin">
                                            Gửi vào lúc
                                            <asp:Label ID="lblNgay" runat="server" Text='<%# GetNgay(Eval("NgayCapNhat")) %>'></asp:Label>
                                        </p>
                                        <div style="width: 300px">
                                            <div style="float: left" class="like_big">
                                                <div class="fb-like" style="float: left" data-href='<%# GetLienKet()+"/video/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'
                                                    data-send="false" data-layout="button_count" data-width="50" data-show-faces="false"
                                                    data-font="arial">
                                                </div>
                                                <div class="share_big" style="float: right">
                                                    <asp:Label ID="lblChiaSe" runat="server" Text=""></asp:Label>
                                                    chia sẻ</div>
                                            </div>
                                            <div class="comment_big" style="float: right; padding-right: 25px">
                                                <asp:Label ID="lblComment" runat="server" Text=""></asp:Label>
                                                bình luận</div>
                                        </div>
                                    </div>
                                    <div style="float: right; margin-top: -180px; margin-left: 380px">
                                        <span class="user_comment_label">Tin liên quan:</span><br />
                                        <ul style="padding-left: 10px">
                                            <asp:DataList ID="dlvideoall" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
                                                Width="100%">
                                                <ItemTemplate>
                                                    <li>
                                                        <asp:HyperLink ID="HyperLink9" NavigateUrl='<%#"~/video/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'
                                                            runat="server"><%# Eval("Ten")%></asp:HyperLink></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </ul>
                                    </div>
                                </ItemTemplate>
                            </asp:DataList></div>
                        <div>
                            <p class="user_comment_gachngang">
                            </p>
                        </div>
                        <asp:DataList ID="dlVideoall2" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                            Width="100%">
                            <ItemTemplate>
                                <div style="height: 200px; padding-left: 10px; padding-right: 10px">
                                    <object width="180" height="150">
                                        <param name="movie" value="<%# Eval("Code") %>"></param>
                                        <param name="allowFullScreen" value="true"></param>
                                        <param name="allowscriptaccess" value="always"></param>
                                        <embed src="<%# Eval("Code") %>" type="application/x-shockwave-flash" width="180"
                                            height="150" allowscriptaccess="always" allowfullscreen="true"></embed></object>
                                    <br />
                                    <asp:HyperLink ID="HyperLink9" NavigateUrl='<%#"~/video/" + Eval("Id") + "_" + GetTieuDe(Eval("Ten")) + ".aspx"%>'
                                        runat="server"><%# Eval("Ten")%></asp:HyperLink>
                                </div>
                                <div>
                                    <p class="user_comment_gachngang">
                                    </p>
                                </div>
                            </ItemTemplate>
                        </asp:DataList>
                    </div>
                    <cc1:Pager ID="Pager1" runat="server" Visible="false" PreviousClause="" NextClause=""
                        LastClause="" FirstClause="" PageClause="Trang" OfClause="/" PageSize="15" OnCommand="Pager1_Command">
                    </cc1:Pager>
                </div>
                <div class="detail_content_bottom" style="text-align: right">
                    <asp:ImageButton ID="cmdPrevious" ImageUrl="~/Images/xemtruoc.png" runat="server"
                        OnClick="cmdPrevious_Click" />
                    <asp:ImageButton ID="cmdNext" ImageUrl="~/Images/xemtiep.png" runat="server" OnClick="cmdNext_Click" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
